import { PlatFormServer } from '@/api/PlatFormServer'

function bind(el, binding) {
  // if (binding.value) {
  el.errorflag = false // 重置，保证error生效
  el.src = PlatFormServer.getFileUrl(binding.value)
  // }
}

export default {
  inserted: bind,
  update: bind
}
